<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'bmb.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link type="text/css" href="css/newsDetail.css" rel="stylesheet"/>
    <link type="text/css" href="css/userWeb.css" rel="stylesheet"/>


  </head>
  
  <body>
    <div class="newsDetail">
        <table id="baom">
        <c:forEach var="uBm" items="${list}">
            <form action="mafx?flag=userBm" method="post" enctype="multipart/form-data">
                <tr><th colspan="5">报名表</th></tr>
	            <tr><td>姓名：</td><td>${uBm.name}</td><td>年级：</td><td>${uBm.nianji}</td><td colspan="3" rowspan="3"><img src="upload/${uBm.photo}"/></td></tr>
	            <tr><td>学院：</td><td>${uBm.xueyuan}</td><td>专业：</td><td>${uBm.major}</td></tr>
	            <tr><td>性别：</td><td>${uBm.max}</td><td>意向：</td><td>${uBm.want}</td></tr>
	            <tr><td>电话：</td><td>${uBm.photoNumber}</td><td>Email</td><td colspan="2">${uBm.email}</td></tr>
		        <tr>
			        <td style="height:150px;">自我评价：</td>
			        <td style="height:150px;"colspan="4">
			             ${uBm.aboutmy}         
			        </td>
		        </tr>
		        <tr><td style="height:500px;">对蓝旭的认识：</td><td style="height:500px;" colspan="4">${uBm.pjia}</td></tr>
		       
		        <tr>
			        <td colspan="5">
			        	    <%!
				            
							int id=1;
							%>
							<%
							//int rowCount=Integer.parseInt(request.getParameter("rowCount"));
							if(request.getParameter("id")!=null){
							   //pageCount=Integer.parseInt(request.getParameter("pageCount"));
							   id=Integer.parseInt(request.getParameter("id"));
							   //out.print("总共"+rowCount+"条记录　");  
							/*if (pageCount>1){  
							   out.print("当前第"+pageNow+"页　");  
							   out.print("共"+pageCount+"页　");}  */
							if(id!=1) {  
							        out.print("<a href=mafx?flag=getbmb&id="+(id-1)+">上一张</a>　");  
							}  
							//if(pageNow!=pageCount){  
							    out.print("<a href=mafx?flag=getbmb&id="+(id+1)+">下一张</a>　");  
							      
							//} 
							}
							%> 
			        
			        
			        </td>
		        </tr>
		    </c:forEach>
			</form>    
		</table>	     
		 
   </div>
  </body>
</html>
